const key = 'pc-key'

// 获取token
const getToken =() => {
    return window.localStorage.getItem(key)
}


// 设置token
const setToken = (token) => {
    return window.localStorage.setItem(key,token)
}

// 移除token
const removeToken = () => {
    return window.localStorage.removeItem(key)
}

export {getToken,setToken,removeToken}